/*
 * Title: WADS
 * Description: Web-based Auto flow Documents System
 * Copyright: 2007
 * Company: CoE
 * @author: Mr.Nattasan Wang-Aphisit
 * @version 1.1
 */

package wads.app;

import java.awt.Frame;
import wads.drawing.node.DatabaseNode;

public class DatabaseNodeDialog extends BaseWADDialog {
//  private static final long serialVersionUID = -3240925391354933373L;

    private DatabaseNode database;
    
  public DatabaseNodeDialog(Frame parent, DatabaseNode owner) {
    super(parent, owner);
    this.database = owner;
    try {
      jbInit();
    }
    catch(Exception e) { e.printStackTrace(); }
  }

  private void jbInit() throws Exception {
    this.getContentPane().setLayout(null);
  }

  @Override
  public void saveProperties(){
  }

  @Override
  public void initDisplay(){
  }

    /**
     * @return the database
     */
    public DatabaseNode getDatabase() {
        return database;
    }

    /**
     * @param database the database to set
     */
    public void setDatabase(DatabaseNode database) {
        this.database = database;
    }

}